<script>
	import {
		mapActions
	} from 'vuex';
	export default {
		methods: {
			...mapActions(['getUserInfoStore']),
		},
		onLaunch: function() {
			let userInfo = uni.getStorageSync('kh:userInfo') || '';
			if (userInfo.id) {
				this.getUserInfoStore();
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import './static/css/common.scss';
	
	/* 加载框架核心样式 */
	@import "./GraceUI5/css/graceUI.css";
	/* 加载主题样式 */
	@import "./GraceUI5/skin/black.css";
	
	/* 加载图标字体 - 条件编译模式 */
	/* #ifdef APP-PLUS-NVUE */
	.gui-icons {
		font-family: graceIconfont;
	}
	
	/* #endif */
</style>
